package com.enation.app.shop.front.policyInsurance.service;

import com.enation.app.shop.front.api.inpolicy.entity.InPolicy;

import java.util.List;

public interface InsuranceProtOrdMapper {

    /**
     *
     * 根据保单id查询报单详情
     * @param inPolicy_id
     * @return
     */
    InPolicy getInPolicyDeatil(int inPolicy_id);

    /**
     * 全部保险订单
     * @return
     */
    List<InPolicy> getAllInPolicyOrderInfo();

    /**
     * 待审核保险订单
     * @return
     */
    List<InPolicy> getUnExplorInPolicyOrderInfo();

    /**
     * 待勘察的保险订单
     * @return
     */
    List<InPolicy> getCheckInPolicyOrderInfo();

    /**
     * 已承保的保险订单
     * @return
     */
    List<InPolicy> getOverInPolicyOrder();

    /**
     * 查看改用户的所有投保记录
     * @param userid
     * @return
     */
    List<InPolicy> getHistoryOrder(Integer userid);

    List<InPolicy> getAllCreaditOrder(Integer page,Integer limit,String inPolicy_number);
}
